<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;

/**
 *
 * @var yii\web\View $this
 * @var common\modules\rbac\backend\models\Route $model
 * @var ActiveForm $form
 */

$this->title = Yii::t('backend', 'Create {modelClass}', ['modelClass' => Yii::t('backend', 'Route')]);
$this->params['breadcrumbs'][] = [
    'label' => Yii::t('backend', 'Routes'),
    'url' => [
        'index'
    ]
];
$this->params['breadcrumbs'][] = $this->title;
?>
<h1><?= $this->title?></h1>

<div class="create">

	<?php $form = ActiveForm::begin(); ?>

		<?= $form->field($model, 'route')?>

		<div class="form-group">
			<?= Html::submitButton(Yii::t('backend', 'Create'), ['class' => 'btn btn-primary'])?>
		</div>
	<?php ActiveForm::end(); ?>

</div>
<!-- create -->
